package com.example.MyThread.ThreadTest05;

/**
 * @author Jason
 * @PACKAGE_NAME com.example.MyThread.ThreadTest05
 * @Description
 * @date 2023-12-10 21:03
 */
public class ThreadDemo {
    public static void main(String[] args) {
        MyThread t1 = new MyThread();
        MyThread t2 = new MyThread();
        MyThread t3 = new MyThread();
        t1.setName("票站1");
        t2.setName("票站2");
        t3.setName("票站3");
        t1.start();
        t2.start();
        t3.start();
    }
}
